package com.czjk.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 后台用户管理
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/findUsername")
    public Map findUsername() {
        String username = "张三";
        Map map = new HashMap();
        map.put("username", username);
        return map;
    }
}
